package com.dao.c.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
 * <p>
 * 
 * </p>
 *
 * @author 张幸晔
 * @since 2025-06-04
 */
@Getter
@Setter
@ToString
@TableName("category")
public class Category implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("category_name")
    private String categoryName;

    @TableField("category_url")
    private String categoryUrl;

    @TableField("category_level")
    private Integer categoryLevel;

    @TableField("created_time")
    private LocalDateTime createdTime;

    @TableField("status")
    private Integer status;

    @TableField(exist = false)
    private List<Object> children;
}
